﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="AdminInfo.aspx.cs" Inherits="TakeoutMangesWeb.AdminInfo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Repeater ID="Repeater1" runat="server">
        <HeaderTemplate><table style="margin:0 auto" class="layui-table layui-form">
                <th>管理员编号</th>
                <th>管理员姓名</th>
                <th>管理员状态</th>
                <th>操作</th>
                </HeaderTemplate>
        <ItemTemplate>
          <tr>
             <td><%#Eval("AdminUserId") %></td>
             <td><%#Eval("AdminUserName") %></td>
               <td ><%#Eval("Isdelete").ToString()=="0"?"管理员身份":"已取消管理员身份" %></td>
             <td>
                <a class="layui-btn layui-btn-danger" href="/MyHandler/DeleteAdminHandler.ashx?id=<%#Eval("AdminUserId") %>" >删除</a>
             </td>
         </tr></ItemTemplate>
        <FooterTemplate></table></FooterTemplate>
    </asp:Repeater>
</asp:Content>
